﻿using System;
using System.Collections.Generic;
using System.Text;
using FeCMS.Common;

namespace FeCMS.CommonInterface
{
    /// <summary>
    ///     错误代码接口
    /// </summary>
    public interface IErrorCode
    {
        ///<summary>
        ///		十六进制错误代码
        ///</summary>
        string Code
        {
            get;
            set;
        }

        ///<summary>
        ///		错误的短消息
        ///</summary>
        string ShortMessage
        {
            get;
            set;
        }

        ///<summary>
        ///		错误的长消息
        ///</summary>
        string LongMessage
        {
            get;
            set;
        }

        ///<summary>
        /// 错误代码的int值
        ///</summary>
        int ErrorValue
        {
            get;
            set;
        }


        ///<summary>
        ///     错误代码的等级
        ///</summary>
        ErrorLevel ErrorLevel
        {
            get;
            set;
        }
    }
}
